package com.kikyou.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @program: kikyouback
 * @author: 李玉龙
 * @create: 2022-03-08 10:50
 **/

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_position")
@ApiModel(value="Position对象", description="")
public class Position implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "是否启用")
    private Boolean enabled;

    @ApiModelProperty(value = "职位级别")
    private String leveCode;

    @ApiModelProperty(value = "职位类别编码")
    private String categoryCode;

    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty(value = "逻辑删除")
    private boolean deleted;

    @ApiModelProperty(value = "职位名称")
    private String positionName;

    @ApiModelProperty(value = "职位类别名称")
    private String categoryName;

    @ApiModelProperty(value = "职位id")
    private String code;

    @ApiModelProperty(value = "是否上级")
    private boolean isParent;
}
